package com.ysd.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ysd.entity.Admin;
import com.ysd.mapper.AdminMapper;
import com.ysd.service.AdminService;

@Service
public class AdminServiceImpl implements AdminService{
	@Autowired
	private AdminMapper aMapper;

	@Override
	public Admin findAdmin(Admin admin) {
		return aMapper.getAdmin(admin);
	}
	
}
